﻿public static class Switch
{
    public static bool EnableError
    {
        get
        {
            return System.Configuration.ConfigurationManager.AppSettings["EnableError"] == "yes";
        }
    }


}